package com.yt.supplier.models.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.yt.common.dto.BaseDTO;

/**
 * 产品信息DTO
 *
 * @author lizicong
 * @Date 2025-09-10 10:05:47
 */
@Data
@TableName("product_info")
@ApiModel(value="产品信息对象", description="产品信息对象")
public class ProductInfoDTO extends BaseDTO implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "")
    private Integer revision;
    @ApiModelProperty(value = "")
    @TableField(value ="product_name")
    private String productName;
    @ApiModelProperty(value = "")
    private Long supplierId;
    @ApiModelProperty(value = "")
    private Long categoryId;
    @ApiModelProperty(value = "")
    private Integer status;
    @ApiModelProperty(value = "")
    private Long stock;
}